/**
 * Project Name:renshuaipeng-parent
 * File Name:TestController
 * Package Name:simple.profile
 * Date:15-12-13
 * Copyright (c) 2015, niao.shuai123@163.com All Rights Reserved.
 */

package simple.profile;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * ClassName:TestController <br/>  
 * Function: xx. <br/>  
 * Date:     15-12-13 <br/>  
 * @author 任帅鹏（作者）
 * @version V1.00 （版本号）  
 * @since JDK 1.8  
 * @see
 */
@Controller
public class TestController {

    @Value("${aa}")
    String aa;

    @RequestMapping("/")
    public @ResponseBody String test(){
        return aa;
    }
}
